<!--{if !$ajax_display}-->
<!--{if $view_forum_online == 1}-->
<div id="onlinelist">
<script type="text/javascript">
//<![CDATA[ 
var online_show_anti="{echo $whois_ol['online_show_anti']}";
//]]>>
</script>
<table class="tableborder" cellspacing="0" cellpadding="0" align="center" border="0">
	<tr>
		<td>
		<table cellspacing="1" cellpadding="4" width="100%" border="0">
			<tr>
				<td class="tile_back_online">
				<span class="categoryfontcolor_normal"><a name="onlinearea" onclick="bmb_ajax_preprocess('topic.php?filename={echo $filename}','&amp;','{echo $allow_ajax_browse}');" href="#onlinearea">{online_info_show[6]} <strong>{echo $whois_ol['sum']}</strong> 
				{online_info_show[7]} <strong>{echo $whois_ol['suma']}</strong> {online_info_show[8]} ({online_info_show[9]} 
				{echo $whois_ol['usernoc']} {online_info_show[10]}), {online_info_show[11]} <strong>{echo $whois_ol['guestno']}</strong> 
				{online_info_show[12]} </a></span>
				</td>
			</tr>
			{echo $whois_ol['usergroup']}
		</table>
		</td>
	</tr>
</table>
</div>
<!--{/if}-->
<!--{eval if($opened_ajax) exit;}-->
<!--{eval show_row_ads("showtopic", $forumid);}-->
<!--{/if}-->
<!--{if (($ajax_display != 1 && $poll_display) || ($ajax_display == 1 && $display_poll == 1)) }-->
<div id="poll_content">
<br/>
<form style="margin:0px;" action="vote.php" method="post" id="pollform">
<table class="tableborder" cellspacing="0" cellpadding="0" align="center" border="0">
	<tr>
		<td>
		<table cellspacing="1" cellpadding="2" width="100%" border="0">
				<tr class="tile_back_nowidth" style="height: 22px;">
					<td class="tile_back_nowidth">
					<span class="categoryfontcolor_normal">&nbsp;<strong>* {get_sta_lng[12]}</strong>{echo $poll_display['topic_name']} </span></td>
				</tr>
				<tr class="article_color1">
					<td>
					<table width="100%" align="center">
						<tr class="article_color1" style="height:100px;">
							<td>
							<table width="100%">
<!--{loop $poll_display['pic'] $key $value}-->
							<tr>
							<td style='width:30%;text-align:left;'>
							{echo $value[staxtus]}
 							</td>
<!--{if $value[numshow]}-->
 							<td style='width:auto;text-align:left;'>
 							<img alt='{echo $value[thisrate]}%' src="{otherimages}/system/bar{echo $value[numshow]}.gif" width='{echo $value[width]}' height='10' />
 							&nbsp;{echo $value[amount]}
 							
 							</td>
<!--{/if}-->
 							</tr>
<!--{/loop}-->
							</table>
							</td>
						</tr>
						<tr>
							<td>
							<hr width="100%" class="tile_back_nowidth" size="1" />
							{echo $poll_display['status']}
							<!--{if $poll_display['button'] == 1}-->
							<!--{if $allow_ajax_reply}-->
							<input onclick="javascript:bmb_ajax_makepoll()" id="quickpoll" type="button" value="{get_sta_lng[8]}[{get_sta_lng[9]}{echo $poll_display['maxchooseitem']}{get_sta_lng[10]}]" />
							<!--{else}-->
							<input type="submit" value="{get_sta_lng[8]}[{get_sta_lng[9]}{echo $poll_display['maxchooseitem']}{get_sta_lng[10]}]" />
							<!--{/if}-->
							<!--{/if}-->
							<hr width="100%" class="tile_back_nowidth" size="1" />
							{echo $poll_display['picinfo']}</td>
						</tr>
					</table>
					</td>
				</tr>
		</table>
		</td>
	</tr>
</table>
</form>
</div>
<!--{/if}-->
<!--{if !$ajax_display}-->
<a name="top"></a>
<!--{/if}-->
<!--{if !$ajax_display}-->
<script type="text/javascript">
//<![CDATA[ 
script_pos = "{echo $script_pos}";
script_rewrite = "{echo $bmfopt['rewrite']}";
function validate_bym(theform) {
	if (theform.reasons.value=="" || theform.reasons.value=="") {
		alert("{gl[455]}");
	} else {
		submit_score_box();
	}
}
function change(theoption,objectname) {
	this.formsr.objectname.value=theoption;
}
//]]>>
</script>
<br />
<div id="ajax_scores_div" class="ajax_informationbox" ondblclick="this.style.visibility='hidden';" title="{forum_pos[32]}"><strong>{read_post[20]}</strong>
<br /><br />
<form action="misc.php?p=byms" style="margin:0px;" id="bymform" name="formsr" method="post">
<div id="ajax_scores_detail"></div>
<input type="button" onclick="javascript:validate_bym(document.getElementById('bymform'));" id="quickbym" name="quickbym" value="{read_post[63]}" />
</form>
</div>
<form action="misc.php?p=manage2&amp;action=del" style="margin:0px;" id="DReply" name="DReply" method="post">
<input type="hidden" name="forumid" value="{echo $forumid}" />
<input type="hidden" name="filename" value="{echo $filename}" />
<input type="hidden" name="article" value="multi" id="article_DReply" />
<input type="hidden" name="mutilequote" value="" />
<input type="hidden" name="step" value="2" />
<input name="batquote" value="" type="hidden" />
<table class="tablewidth" border="0" cellspacing="0" cellpadding="0" align="center" ondblclick="displaypage();" title="{tip[14]}">
	<tr valign="middle">
			<td>
				<a href="post.php?forumid={echo $forumid}">
				<img src="{otherimages}/t_new.gif" title="{tip[11]}"  border="0" alt="" /></a>
				<a href="post.php?action=reply&amp;forumid={echo $forumid}&amp;filename={echo $filename}">
				<img title="{tip[12]}" src="{otherimages}/t_reply.gif"  border="0" alt="" /></a><div id="pageurl" style="display: none;"><input size="60" type="text" onmouseover="this.select();" id="pageurladdress" value="{echo $thispageurl}" /></div>
			</td>
			<td width="*" align="right">
				<div id="multi_page_bar">{echo $multi_page_bar}</div>
			</td>
			<td width="114" align="right">
				<table class="tableborder" cellspacing="1" cellpadding="2" border="0">
					<tr>
					<td class="toolbox_thread_1"><a href="javascript:MultiReply()" title="{tip[13]}">{tip[15]}</a></td>
					<td class="toolbox_thread_2"><a href="viewfav.php?action=add&amp;forumid={echo $forumid}&amp;filename={echo $filename}&amp;topic_author={echo $topic_author}&amp;topic_name={echo $topic_name}" title="{read_post[0]}">{tip[17]}</a></td>
					<td class="toolbox_thread_1"><a href="misc.php?p=report&amp;forumid={echo $forumid}&amp;filename={echo $filename}" title="{read_post[39]}">{tip[16]}</a></td>
					</tr>
				</table>
			</td>
	</tr>
</table>
<table cellpadding="5" cellspacing="1" border="0" class="tableborder_topic" align="center">
	<tr>
				<td class="tile_back_readpost">
				<span class="categoryfontcolor_font">{read_post[122]} </span>
				</td>
				<td class="tile_back_color" valign="middle" align="left">
				<span class="categoryfontcolor_font">&nbsp;{read_post[1]}: {echo $topic_name}</span>
				</td>
	</tr>
</table>
<script type="text/javascript">
//<![CDATA[ 
function displaypage(){
	obj = document.getElementById("pageurl");
	if (obj.style.display == "none") {
	    obj.style.display="";
	} else {
	    obj.style.display="none";
	}
}
function check_file_ext(fobject,extcount) {
	ext_exists = 0;
	if (fobject.value!="") {
		available_exts = "{echo $upload_type_available}"
		available_ext = available_exts.split(' ');
		for (i = 0; i < extcount; i++) {
			currentext = available_ext[i].toLowerCase();
			str1=fobject.value.toLowerCase();
			s=str1.lastIndexOf("."); 
			str2=str1.substring(s+1).toLowerCase(); 
			if (str2==currentext) {
				ext_exists = 1;
			}
		}
	}
	if (ext_exists != 1) {
		alert("{echo $gl[527]}");
		fobject.style.backgroundColor="#FFFF77";
	} else {
		fobject.style.backgroundColor="";
	}
}
function DelReply(types){
if (types=="t" || types=="r") {
	if(confirm("{read_post[61]}", "{read_post[61]}")){
		if (types=="t") {
			document.DReply.action="misc.php?p=manage2&action=recyclepost";
		}else{
			document.DReply.action="misc.php?p=manage2&action=recoverpost";
		}
		
		document.DReply.submit();
	}
} else {
	if(confirm("{read_post[5]}", "{read_post[6]}")){
		document.DReply.submit();
	}
}
}
function MultiReply(){
document.DReply.action="post.php?action=quote";
document.DReply.mutilequote.value="yes";
document.DReply.step.value="";
document.DReply.submit();
}
function refundPost(artid,page){
if(confirm("{read_post[48]}", "{read_post[48]}")){
document.getElementById("refundbutton").disabled=true;
window.location="sell.php?verify={echo $log_hash}&act=refund&buyer={echo $fileusername}&forumid={echo $forumid}&filename={echo $filename}&article="+artid+"&page="+page; 
}
}
function BuyPost(artid,page){
if(confirm("{read_post[7]}", "{read_post[8]}")){
document.DReply.buybutton.disabled=true;
window.location="sell.php?verify={echo $log_hash}&buyer={echo $fileusername}&forumid={echo $forumid}&filename={echo $filename}&article="+artid+"&page="+page; 
}
}
function BegPost(artid,page,money){
if(confirm("{sellit_lng[12]}", "{sellit_lng[12]}")){
document.getElementById("begpost_button").disabled=true;
window.location="sell.php?verify={echo $log_hash}&type=beg&buyer={echo $fileusername}&forumid={echo $forumid}&filename={echo $filename}&article="+artid+"&page="+page+"&begmoney="+money; 
}
}
function GiftPost(artid,page){
if(confirm("{sellit_lng[17]}", "{sellit_lng[17]}")){
window.location="sell.php?verify={echo $log_hash}&type=gift&buyer={echo $fileusername}&forumid={echo $forumid}&filename={echo $filename}&article="+artid+"&page="+page; 
}
}
function toggleHidden(h,f)
{
  if(f==1)
  {
    h.nextSibling.style.display='inline';
    //h.style.height=h.nextSibling.scrollHeight;
  }
  else
  {
    h.nextSibling.style.display='none';
    h.style.height='auto';
  }
}
var exchanging = "{read_post[46]}";
//]]>>
</script>
<script type="text/javascript" src="images/bmb_ajax.js"></script>
<!--{/if}-->
<!--{if $is_ajax_poll || !$ajax_display}-->
<div id="posts">
<!--{/if}-->


<!--{loop $bmf_post_list $key $posts}-->
<style type="text/css">
.post_table_fixed{
	width:100%;
	margin-bottom:3px;
}
</style>
<table cellspacing="0" cellpadding="0" id="posted_table" class="post_table_fixed" align="center">
	<tr>
		<td class="{bgcolor}">
		<table class="topic_bordercolor_px" style="table-layout: fixed;word-wrap: break-word;" cellspacing="0" cellpadding="4" width="100%">
			<tr>
				<td style="vertical-align: top;width:204px;table-layout: fixed;word-wrap: break-word;" class="{echo $posts['bgcolor']}_memberinfo">
				<!--{if $pagemax == $posts['now_i']}-->
				<a name="postend"></a>
				<!--{/if}-->
				<a name="p{echo $posts['print_info']['id']}"></a>
				<span class='author_name' title='{gl[512]} {echo $posts['print_info']['userid']}'>{echo $posts['author']}</span>&nbsp;<br />
				<!--{if !empty($posts['print_info']['headtitle'])}-->
				{echo $posts['print_info']['headtitle']}<br />
				<!--{/if}-->
				<a href='misc.php?p=sut'><img border='0' alt='{echo $posts['print_info']['r_userlevel']}' title='{echo $posts['print_info']['r_userlevel']}' src='{otherimages}/system/{echo $posts['print_info']['r_userIcon']}' /></a>
				<!--{if !empty($posts['print_info']['team'])}-->
				<br />{echo $posts['print_info']['team']}
				<!--{/if}-->
				<br />&nbsp;{echo $posts['print_info']['rr_usericon']}<br />
				<br />{echo $posts['print_info']['sureget']}
				{unreguser[11]}{echo $posts['print_info']['fromwhere']}&nbsp;{echo $posts['print_info']['national']}<br />
				{unreguser[12]}<a href='search.php?keyword={echo $posts['urlauthor']}&amp;method=or&amp;method1=2'>{echo $posts['print_info']['postamount']} {unreguser[13]}</a>&nbsp;<br />
				{unreguser[32]} <a href='search.php?keyword={echo $posts['urlauthor']}&method=or&method1=2&method2=&forumid=&digestonly=1'>{echo $posts['print_info']['digestmount']} {unreguser[13]}</a>&nbsp;<br />
				{unreguser[15]}{echo $posts['print_info']['bym']} {unreguser[16]}<br />
				{unreguser[17]}{echo $posts['print_info']['money']} {echo $bbs_money}<br />
				<!--{if $posts['print_info']['regdate']}-->
				{unreguser[18]}{echo $posts['print_info']['regdate']}<br />
				<!--{/if}-->
				{echo $posts['print_info']['cutsom_info']}
				</td>
				<td class="{echo $posts['bgcolor']}" style="vertical-align: top;width:auto;height:100%;">
				<table cellspacing="0" cellpadding="0" style="width:100%;table-layout: fixed;word-wrap: break-word">
				<tr>
				<td align="left" width="83%">
<!-- END 6 -->
<!--{if $posts['author_id']}-->
				<a href="profile.php?job=show&amp;memberid={echo $posts['author_id']}" title="{unreguser[19]}">
				<img style="vertical-align: middle;" src="{otherimages}/system/profile.gif" border="0" alt="{unreguser[20]}" />{echo $posts['text_1']}</a>
				<a href="friendlist.php?action=add&amp;friendname={echo $posts['urlauthor']}&amp;fusertype=f" title="{unreguser[21]}">
				<img style="vertical-align: middle;" src="{otherimages}/system/friend.gif" border="0" alt="{unreguser[22]}" />{echo $posts['text_2']}</a>
				<a href="messenger.php?job=write&amp;target={echo $posts['urlauthor']}" title="{unreguser[23]}">
				<img style="vertical-align: middle;" src="{otherimages}/system/message.gif" border="0" alt="{unreguser[24]}" />{echo $posts['text_3']}</a>
<!--{/if}-->
<!--{if $posts['publicmail']}-->
				<a href="mailto:{echo $posts['useremail']}">
				<img style="vertical-align: middle;" src="{otherimages}/system/email.gif" border="0" alt="{unreguser[25]}" title="{unreguser[26]}" />{echo $posts['text_4']}</a>
<!--{/if}-->
<!--{if $posts['oicq']}-->
				<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin={echo $posts['oicq']}&amp;Site={echo $url_bbs_title}&amp;Menu=yes" title="{unreguser[27]}:{echo $posts['oicq']} {unreguser[28]}" target="_blank">
				<img style="vertical-align: middle;" src="{otherimages}/system/oicq.gif" border="0" alt="QQ" />{echo $posts['text_5']}</a>
<!--{/if}-->
<!--{if $posts['msn']}-->
				<a href="http://messenger.msn.com" title="MSN:{echo $posts['msn']}" target="_blank">
				<img style="vertical-align: middle;" src="{otherimages}/system/msn.gif" border="0" alt="MSN:{echo $posts['msn']}" title="MSN:{echo $posts['msn']}" />{echo $posts['text_6']}</a>
<!--{/if}-->
<!--{if $posts['icq']}-->
				<a href="http://web.icq.com/wwp?Uin={echo $posts['icq']}" title="ICQ:{echo $posts['icq']}" target="_blank">
				<img style="vertical-align: middle;" src="{otherimages}/system/icq.gif" border="0" alt="ICQ" />{echo $posts['text_7']}</a>
<!--{/if}-->
<!--{if $posts['homepage']}-->
				<a href="{echo $posts['homepage']}" target="_blank" title="{unreguser[29]}{echo $posts['author']}{unreguser[30]}">
				<img src="{otherimages}/system/home.gif" border="0" style="vertical-align: middle;" alt="{unreguser[31]}" />{echo $posts['text_8']}</a>
<!--{/if}-->
<!--{if $posts['allow_edit']}-->
				<a href="post.php?action=modify&amp;forumid={echo $forumid}&amp;page={echo $page}&amp;filename={echo $filename}&amp;article={echo $posts['i']}">
				<img style="vertical-align: middle;" src="{otherimages}/system/edit.gif" title="{read_post[14]}" border="0" alt="{read_post[15]}" />{echo $posts['text_9']}</a>
<!--{/if}-->
<!--{if $posts['qrlink']}-->
				{echo $posts['qrlink']}
				<img style="vertical-align: middle;" src="{otherimages}/system/replynow.gif" border="0" alt="{read_post[12]}" />{echo $posts['text_10']}</a>
				<a href="post.php?action=quote&amp;forumid={echo $forumid}&amp;filename={echo $filename}&amp;article={echo $posts['i']}&amp;tid={echo $posts['i']}" title="{read_post[9]}">
				<img style="vertical-align: middle;" src="{otherimages}/system/quote.gif" border="0" alt="{read_post[10]}" />{echo $posts['text_11']}</a><input style="vertical-align: middle;" title="{read_post[47]}" type="checkbox" value="{echo $posts['i']}" name="quotes[]" /> 
<!--{/if}-->
				</td>
					<td width="*" align="right">
						<select style="vertical-align: middle;" onchange="javascript:document.getElementById('text{echo $posts['i']}').style.fontSize=this.value;">
						<option value="9pt">{read_post[13]}</option>
						<option value="9pt">9</option>
						<option value="10pt">10</option>
						<option value="11pt">11</option>
						<option value="12pt">12</option>
						<option value="14pt">14</option>
						<option value="15pt">15</option>
						<option value="16pt">16</option>
						<option value="18pt">18</option>
						<option value="20pt">20</option>
						<option value="25pt">25</option>
						<option value="30pt">30</option>
						<option value="50pt">50</option>
						</select>&nbsp;<img style="vertical-align: middle;" src="{otherimages}/system/lastpost.gif" alt="" /> <a name="#floor{echo $posts['nowfloor']}"></a>{echo $posts['nowfloor']} {read_post[35]}&nbsp;
					</td>
				</tr>
				</table>
				<table style="width:100%;table-layout: fixed;word-wrap: break-word;margin-top:2px;">
					<tr>
						<td class="topic_split_background" style="width:100%;border: 0px; height:1px;table-layout: fixed;word-wrap: break-word;">
						</td>
					</tr>
					<tr>
						<td colspan="3" width="100%" style="left: 0px; width: 100%; word-wrap: break-word">
						<span class="jiazhongcolor">{echo $posts['icon']}<strong>{echo $posts['title']}</strong>
						</span>
						<div align="right">
							{echo $posts['showsimage']}</div>
						</td>
					</tr>
					<tr>
						<td colspan="3" {echo $posts['ajaxscript']}>
<!--{if $posts['posttrash'] == 1 && $posts['recover_posts']}-->
						<table class="tableborder" cellspacing="1" cellpadding="4"  width="95%" border="0">
							<tr><td style="word-break : break-all" class="{echo $posts['qbgcolor']}">
							<a href="misc.php?p=manage2&amp;action=recoverpost&amp;filename={echo $filename}&amp;article={echo $posts['i']}"><img style="vertical-align: middle;" src="{otherimages}/system/trash.gif" title="{read_post[58]}" border="0" alt="" /><strong>{read_post[62]}</strong></a>
							</td>
							</tr>
						</table>
						<br />
<!--{/if}-->
						{echo $posts['contentconverted']} 
<!--{if $posts['editinfoed'][0]}-->
<p><em><span class='jiazhongcolor'>[{read_post[27]} {echo $posts['editinfoed'][0]} {echo $posts['editinfoed'][1]} {read_post[28]}]</span></em></p>
<!--{/if}-->
						<p>
						<span class="jiazhongcolor">{echo $posts['postbinfo']}</span>{echo $posts['uploadfileshow']}
						</p>
						{echo $posts['s_reasons']} 
<!--{if $posts['tag_url_bar']['tags_url']}-->
						<br/>
						<table class="tableborder" cellspacing="1" cellpadding="4"  width="95%" border="0">
							<tr><td style="word-break : break-all" class="{echo $posts['qbgcolor']}">
							<strong>{read_post[45]}</strong> {echo $posts['tag_url_bar']['tags_url']}
							</td>
							</tr>
						</table>
						
<!--{/if}-->
<!--{if $posts['sign_img_bar']['sign_text_line']}-->
						<br/><img src="{otherimages}/system/signature.gif" alt='' /><br />
						<div class="signature_div">{echo $posts['sign_img_bar']['sign_text_line']}</div>
<!--{/if}-->
<!--{if $posts['ads_tag_bar']['postads_npw']}-->
						<br/>
						<table class="tableborder" cellspacing="1" cellpadding="4"  width="95%" border="0">
							<tr><td style="word-break : break-all;" class="{echo $posts['qbgcolor']}">
							{echo $posts['ads_tag_bar']['postads_npw']}
							</td>
							</tr>
						</table>
<!--{/if}-->

						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr style="height:20px">
				<td valign="middle" width="20%" rowspan="2" class="{echo $posts['bgcolor']}_timeline">
				{echo $posts['time']}</td>
				<td valign="middle" width="*" class="{echo $posts['bgcolor']}_bottombar">
				<table cellspacing="0" cellpadding="0" width="100%" style="table-layout: fixed;word-wrap: break-word">
				<tr>
				<td align="left" width="70%">
<!--{if $posts['display_ip']}-->
				<img style="vertical-align: middle;" title="{echo $posts['aaa']}" src="{otherimages}/system/ip.gif" alt="" /> {read_post[17]} 
				{echo $posts['area']}
<!--{/if}-->
<!--{if $userid == $this_is_gift && $this_is_gift != $posts['author_id'] && !@in_array($posts['author_id'], $giftid_r_array)}-->

				 <a href="javascript:void(0);" onclick="javascript:GiftPost({echo $posts['i']},{echo $page});"><img style="vertical-align: middle;" src="{otherimages}/system/gift.gif" title="{sellit_lng[18]}" border="0" alt="" />{sellit_lng[18]}</a>
<!--{/if}-->	
<!--{if $posts['del_posts']}-->
				
				 <a href="misc.php?p=manage2&amp;action=del&amp;forumid={echo $forumid}&amp;filename={echo $filename}&amp;article={echo $posts['i']}"><img style="vertical-align: middle;" src="{otherimages}/system/del.gif" title="{read_post[18]}" border="0" alt="" />{read_post[19]}</a>
<!--{/if}-->
<!--{if $posts['posttrash'] == 0 && $posts['recycle_posts']}-->
				 <a href="misc.php?p=manage2&amp;action=recyclepost&amp;filename={echo $filename}&amp;article={echo $posts['i']}"><img style="vertical-align: middle;" src="{otherimages}/system/trash.gif" title="{read_post[57]}" border="0" alt="" />{read_post[57]}</a>
<!--{/if}-->
<!--{if $posts['posttrash'] == 1 && $posts['recover_posts']}-->
				 <a href="misc.php?p=manage2&amp;action=recoverpost&amp;filename={echo $filename}&amp;article={echo $posts['i']}"><img style="vertical-align: middle;" src="{otherimages}/system/trash.gif" title="{read_post[58]}" border="0" alt="" />{read_post[58]}</a>
<!--{/if}-->
<!--{if $posts['del_b_posts']}-->
				<input name="delpost[n{echo $posts['i']}]" type="checkbox" title="{read_post[59]}" value="1" />
<!--{/if}-->
		
				&nbsp;
					</td>
				<td align="right" width="*">
				{echo $posts['byms']}
				</td>
				</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<!--{/loop}-->
<!--{if !$ajax_display}-->
</div>
<!--{/if}-->
<!--{eval if($ajax_display == 1) echo $multi_page_bar;}-->
<!--{eval if($ajax_display == 1) exit;}-->

<!-- END 27 -->
<!--{if $multi_page_bar}-->
<table style="padding-top:5px;" cellspacing="0" cellpadding="0" class="tablewidth" align="center">
	<tr>
		<td height="25"><div id="multi_page_bar_2">{echo $multi_page_bar}</div></td>
	</tr>
</table>
<!--{/if}-->
<!-- BEGIN rereply -->
</form>
<script type="text/javascript">
//<![CDATA[ 
function menu(){
var URL = document.jumpbbs.jumptobbs.options[document.jumpbbs.jumptobbs.selectedIndex].value;
top.location.href = URL; target = '_self';
}
//]]>>
</script>
<p></p>
<table cellspacing="0" cellpadding="0" class="tablewidth" align="center">
	<tr>
		<td align="left"><a href="post.php?forumid={echo $forumid}">
		<img src="{otherimages}/t_new.gif" title="{read_post[30]}" border="0" alt="" /></a>
		<a href="post.php?action=reply&amp;forumid={echo $forumid}&amp;filename={echo $filename}">
		<img title="{read_post[31]}" src="{otherimages}/t_reply.gif" border="0" alt="" /></a>
		</td>
	</tr>
</table>
<br />
<table cellspacing="0" cellpadding="0" class="tablewidth" align="center">
		<tr>
		<td width="100%">
			<form style="margin:0px;" action="" name="jump" method="post">
			{echo $manageops}
			</form>
		</td>
		</tr>
	
</table>
<br />
<!--{if $sthread_list}-->
<table class="tableborder" cellspacing="0" cellpadding="0" align="center" border="0">
<tr>
<td>
<table style="width:100%;" cellspacing="1" cellpadding="0" align="center" border="0">
	<tr class="tile_back_nowidth" align="center" style="height:29px;">
		<td class="tile_back_nowidth">
		<span class="categoryfontcolor_font">
		{l_similar[0]}</span></td>
		<td class="tile_back_nowidth" style="width:160px;">
		<span class="categoryfontcolor_font">
		{l_similar[1]}</span></td>
		<td class="tile_back_nowidth" style="width:100px;">
		<span class="categoryfontcolor_font">
		{l_similar[2]}</span></td>
		<td class="tile_back_nowidth" style="width:55px;">
		<span class="categoryfontcolor_font">
		{l_similar[3]}</span></td>
		<td class="tile_back_nowidth" style="width:55px;">
		<span class="categoryfontcolor_font">
		{l_similar[4]}</span></td>
		<td class="tile_back_nowidth" style="width:110px;">
		<span class="categoryfontcolor_font">
		{l_similar[5]}</span></td>
	</tr>

<!--{loop $sthread_list $key $sthread}-->
	<tr style="text-align:center;height: 33px;" class="forum_border_one_1" onmouseover="javascript:this.className='forum_border_one_2';" onmouseout="javascript:this.className='forum_border_one_1';">
			<td width="*" align="left" class="forum_border_one_3" id="tags_similar_1">
			<table width="100%" border="0" cellspacing="0" cellpadding="4">
				<tr>
					<td>
						<a href="{echo $sthread['tagstothread']}" target="_blank">
						<img src="{otherimages}/openwindow.gif" border="0" alt="" /></a> 
						<a href="{echo $sthread['tagstothread']}">{echo $sthread['title']}</a>
					</td>
				</tr>
			</table>
			</td>
			<td class="forum_border_one_3" style="width:160px;" id="tags_similar_2">
			<a href="{echo $sthread['tagstoforums']}">{echo $sthread['forum_name']}</a></td>
			<td class="forum_border_one_3" style="width:100px;" id="tags_similar_3">
			<a href="profile.php?job=show&amp;target={echo $sthread['urlauthor']}">{echo $sthread['viewauthor']}</a></td>
			<td class="forum_border_one_3" style="width:55px;" id="tags_similar_4">
			{echo $sthread['reply']}</td>
			<td class="forum_border_one_3" style="width:55px;" id="tags_similar_5">
			{echo $sthread['hit']}</td>
			<td align="center" class="forum_border_one_3" style="width:110px;" id="tags_similar_6">&nbsp;{echo $sthread['timetoshow']}</td>
	</tr>
<!--{/loop}-->
</table>
</td>
</tr>
</table>
<br/>
<!--{/if}-->
<!--{if $allow_fast_reply}-->
<script type="text/javascript">
//<![CDATA[ 
helpstat = false;
stprompt = true;
basic = false;
clckcnt = 0;
var postmaxchars = {echo $reply_post['max_post_length']};
var postminchars = {echo $reply_post['min_post_length']};
var ajax_open = {echo $reply_post['allow_ajax_reply']};

ie = (document.all)? true:false
function ctlent(eventobject){
	if((eventobject.ctrlKey && eventobject.keyCode==13) || (eventobject.altKey && eventobject.keyCode == 83)) {
		document.getElementById("quicksubmit").click();
	}
}
function clckcntr() {
clckcnt++;
if(clckcnt > 1) {
if(clckcnt > 2) { return false; }
alert('{jsinfo[0]}');
return false;
}
return true;
}
function thelp(swtch){
if (swtch == 1){
basic = false;
stprompt = false;
helpstat = true;
} else if (swtch == 0) {
helpstat = false;
stprompt = false;
basic = true;
} else if (swtch == 2) {
helpstat = false;
basic = false;
stprompt = true;
}
}
function AddText(NewCode) {
document.FORM.articlecontent.value+=NewCode
}
function validate(theform) {
	upload_filename = document.getElementById("upload_filename").value;

	if (theform.articlecontent.value=="") {
		alert("{jsinfo[1]}");
		clckcnt=0;
		return false;
	}
	if (postmaxchars != 0) {
		if (theform.articlecontent.value.length > {echo $reply_post['max_post_length']} || theform.articlecontent.value.length < {echo $reply_post['min_post_length']}) {
			alert("{jsinfo[2]} "+theform.articlecontent.value.length+" {jsinfo[3]}");
			clckcnt=0;
			return false; 
		} else {  
			if (ajax_open == 1 && upload_filename == "") {bmb_ajax_replythread(theform);return false;}
		    else{ return true; }
		}
	} else { 
		if (ajax_open == 1 && upload_filename == "") {bmb_ajax_replythread(theform);return false;}
		else{ return true; }
	}
}
function checklength(theform) {
if (postmaxchars != 0) { message = "{jsinfo[4]}"; }
else { message = ""; }
alert("{jsinfo[5]}"+theform.articlecontent.value.length+" {jsinfo[3]}"+message);
}
//]]>>
</script>
<form name="FORM" style="margin:0px;" method="post" action="post.php" onsubmit="return validate(this)" enctype="multipart/form-data">
<table class="tableborder_post" cellspacing="0" cellpadding="0" align="center">
<tr><td>
		<table style="height:25px;width:100%;" cellspacing="1" cellpadding="0" border="0">
			<tr>
				<td valign="middle" class="tile_back_nowidth" align="left">&nbsp;
				<strong><span class="categoryfontcolor_normal">{forum_pos[28]}</span></strong>
				</td>
			</tr>
		</table>

<script type="text/javascript">
//<![CDATA[ 
function qrtrans(qri) {
document.FORM.article.value=qri;
document.FORM.quickquote.checked='checked';
}
function gotopages(eventobject,object,extra) {
if(eventobject.keyCode == 13) {
window.location.href="topic.php?forumid={echo $forumid}&filename={echo $filename}&page="+object.value+extra;
}
}
function DoTitle(addTitle) {
var revisedTitle;
var currentTitle = document.FORM.articletitle.value;
revisedTitle = currentTitle+addTitle;
document.FORM.articletitle.value=revisedTitle;
document.FORM.articletitle.focus();
return; }
function DoComments(addTitle) { 
var revisedTitle; 
var currentTitle = document.FORM.articlecontent.value; revisedTitle = currentTitle+addTitle; document.FORM.articlecontent.value=revisedTitle; document.FORM.articlecontent.focus(); 
return; 
}
function checklayer(objs){
if(objs.checked==true){
MM_showHideLayers('Layer1','','show');
}else{
MM_showHideLayers('Layer1','','hide');
}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//]]>>

</script>


		<table cellspacing="0" cellpadding="4" style="width:100%;height:100%;" class="list_color1" id="fastpost_bottom">
			<tr>
				<td class="{echo $reply_post['dbgcolor']}" style="width:204px;text-align:left;"><strong>{forum_pos[10]}</strong>
				</td>
				<td style="width:auto;" class="{echo $reply_post['dbgcolor']}_fast_reply">
				<input type="text" name="articletitle" value="" size="35" maxlength="45" />
				<input class="input3" type="checkbox" checked="checked" value="yes" name="actioneot" id="open_6" /><label for="open_6"></label>
				<select onchange="DoComments(this.options[this.selectedIndex].value)">
				<option selected="selected">{forum_pos[14]}</option>
				{echo $reply_post['actshows']}</select>
				<input type="checkbox" name="usesignature" value="checkbox" checked="checked" id="open_4" /><label for="open_4"> 
				{forum_pos[11]}</label>
				<input type="checkbox" name="autourl" value="yes" checked="checked" id="open_5" /><label for="open_5">{forum_pos[12]}</label>
				
				<input class="input3" type="checkbox" value="yes" name="quickquote" id="open_7" /><label for="open_7">{forum_pos[29]}</label>	<input type="checkbox" value="" name="nouseemot" onclick="checklayer(this);" id="open_switch" /><label for="open_switch">{forum_pos[31]}</label>
				</td>
			</tr>
			<tr>
				<td valign="top" style="width:204px;" class="{echo $reply_post['dbgcolor']}" rowspan="2" align="left">
				<strong>{forum_pos[4]}</strong><br />
				{echo $reply_post['htmlcodeinfo']}
				<input type="checkbox" name="openbmbcode" value="checkbox" id="open_2" /><label for="open_2">{forum_pos[6]}<strong>BMB 
				Code</strong></label><br />
				<input type="checkbox" name="openbmbemot" value="checkbox" id="open_3" /><label for="open_3">{forum_pos[6]}<strong>{forum_pos[30]}</strong></label><br />
				<br />
				<strong>{forum_pos[7]}:{echo $reply_post['uploadinfoshow']}{echo $reply_post['addinfoone']}
				</td>
				<td valign="top" width="*" class="{echo $reply_post['dbgcolor']}_reply_content" rowspan="2">
				<textarea onkeydown="ctlent(event)" name="articlecontent" cols="90" rows="7"></textarea>&nbsp;&nbsp;<div id="Layer1" class="fast_emot_selector_article">{echo $reply_post['wemotinfoshow']}</div>
				<br />
				<input type="hidden" value="2" name="step" />
				<input type="hidden" value="reply" name="action" />
				<input type="hidden" value="{echo $forumid}" name="forumid" />
				<input type="hidden" value="" name="article" />
				<input type="hidden" value="{echo $filename}" name="filename" />{echo $reply_post['showuploads']}<br />
				<input onclick="return clckcntr();" type="submit" value="{forum_pos[15]}" name="quicksubmit" id="quicksubmit" />
				<input id="resetform" type="reset" value="{forum_pos[16]}" />
				</td>
			</tr>
		</table>

</td>
</tr>
</table>
</form>
<br/>
<!--{/if}-->

<table cellspacing="0" cellpadding="0" class="tablewidth" align="center">
	<tr>
		<td style="text-align:center;">
			<table class="tableborder" cellspacing="1" cellpadding="2" border="0" style="width:30%;">
				<tr>
				<td class="toolbox_thread_1"><a href="misc.php?p=sendfriend&amp;forumid={echo $forumid}&amp;filename={echo $filename}">{read_post[34]}</a></td>
				<td class="toolbox_thread_2"><a href="topic.php?forumid={echo $forumid}&amp;filename={echo $filename}&amp;showmode=printpage">{read_post[36]}</a></td>
				<td class="toolbox_thread_1"><a href="article.php?forumid={echo $forumid}&amp;filename={echo $filename}">{read_post[38]}</a></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td style="text-align:right;">
		<br />
		<form style="margin:0px;" name="jumpbbs" action="forums.php" method="post">
			{read_post[32]} <select onchange="menu()" name="jumptobbs">
			<option value="index.php" selected="selected">{read_post[33]}</option>
			{echo $listsshow}</select>
			</form>
		</td>
	</tr>
</table>
<br />
